Open
Conversation
Using only sendData(data) function
Class name: TcpConnection
- Added port field to costructor - Fixed mainHandler
- Created NetBridge class - Created NetBridge implementation WifiBridge - Added state determination to TcpConnection
mainHandler leaks
Added also NetworkTests activity
Connection now works
Broadcast packets on a multicast address, and receive responses back
- Added setter - Calling onFailure in outer onError method
Create a thread factory for network threads
- Created ExpiringList class
- Show a list of discovered devices
- Added click behavior instead of select - Added event listener for connection requests - Removed useless class
`SocketInfo {address, name}`
ConnectionDialogFragment is displaying names instead of addresses
No longer throwing concurrent access exception
De-hardcoded `network` package
- Crashing when connecting - Closing socket even if connected on ConnectTask exit
Devices are removed from the beacon device_list only through` Beacon#updateDevices()`. If any device is removed, a callback `Beacon.OnEventListener#onDevicesTimeout(infoSet)` is called. connection_fragment now modify his adapter only through these callbacks, avoiding to clear the entire adapter each update.
- Class listener - Initialize a wifi connection
- Tcp connection checks if can start connection - NetAdapter and Wifibridge check if can start connection - Renamed some symbols
NetAdapter.getSender() returns a Sender class which contains methods to send the desired data
Removing the name part after the first dot. Example: coolname.station.dunno -> coolname.
Beacon check if the PC response is valid or not. It also sends a string which will be checked by the PC.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New classes:
UdpSender:
TcpConnection:
NetBridge:
WifiBridge:
NetAdapter: